#include "adddecloration.h"
#include "ui_adddecloration.h"

AddDecloration::AddDecloration(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::AddDecloration)
{
    ui->setupUi(this);
}

QMap<QString, QString> AddDecloration::getDeclInfo()
{
    return declInformation;
}

void AddDecloration::setOrderId(QString orderId)
{
    declInformation["REQUEST_ID"] = orderId;
}

AddDecloration::~AddDecloration()
{
    delete ui;
}

void AddDecloration::on_buttonBox_accepted()
{
    declInformation["SENDER"] = ui->senderTitle->text();
}
